SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a5db8f995f56f55186843d0fa395dd694fc3b94bcb3bb2b741826b06d263171' 
  AND token = 'zJ0qdSrsIjjskkkVMyE3rySlws+502h6qRQbrMspWQU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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