SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7218a5d26a56b5028ec6c418dfe468e70ef912851c4d7549400c6e49084f48c' 
  AND token = '+KtCur/buCT9APShsMJKWBRzRebjZ72ONquSs6cbtbg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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