SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d7fd1c75b288c1ce2015f1a4bf6c308f2612d8e4c638bfd6e953ee4050dd3f1' 
  AND token = '8B9lG37gDQ+qO8V3Gl+v0uNXkCOWAbZnZ+Exe2D43PA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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