SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '831839d5ce8284d35654cc1a06bb54c6ce32778bd04788da284334b6a1abda2f' 
  AND token = 'q2g3A3EY4Rgw0sJ+m3JKMFyr3a2DS3IbSoQ+oolIBcU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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