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

Query time 0.00048

JSON explain

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