SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afd90573fe07762bf77bf7ead9d5c2221972b58ca3489181d4e4a0d043dba38f' 
  AND token = 'VYO+v7KJvOT7nGZ0xoa43TTtn9Lk/ZIGQ9MN6Jpin9Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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