SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5865e9913ef33e608611a82d2d76ca79b1109cd53a4a9a3197d2917ec0eb44e' 
  AND token = 'DylAe43ZVcLiQ9e/WyNMNhsm7Lcmvz8aGM0zruMhrqs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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