SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9a66aadb436ea827344e8f5bcce379567db7c9f9fa359d87940d10c543855fa' 
  AND token = 'IoNJI9I3vgrKG0cy60OSN3X6cozhgrYbcV4y0ChsNko=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}