SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '669a98c1fc6c719b63a78b21db19a7add146dc5396872c12a04d83a1ba996aa0' 
  AND token = 'h5S7JvkcrEm3myLWU1fhVWG2PURTfQtaDKx94jSUeac=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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