SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9ac7f36d7ce49bb6e0fe032966f79f8074e3f0620333ab856f1233d6a1bf293' 
  AND token = 'Y7mFB+fakpxqeqA86CvpxAdM391ltjO5P2QwS/1qXko=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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