SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '797e9ab7d0877b0f9979ccd93715d038da83267bf71cc10b4f1f11b5f1de3e40' 
  AND token = 'XINzLUAIbKyWXscAlfinNuGpSCytNT18Gl98q9M345g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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