SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b169129510f7bc28b4909edf76c1fcc6e51f56685a442070e2ea36651a669eeb' 
  AND token = 'q4WSRqjZk/9d1xIrKlHmMuB2bhoEFzQ4o4Ll1JnOoU4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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