SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5993131ee69168c6eb4b316f0e1ac217ba452a78da2d97ff46ab63ecd32cf1fd' 
  AND token = 'V031CD+AFDiGIQ8kqm65CyvBFPCRr6t6dOeVQ51a5+k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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