SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6afacb0252bd5ddcb8f90e7e39721c4623911de4695895c46a79c19c5010d215' 
  AND token = '502szRTch8eWX9D3mLJ3kccJSSOavC0it83e+P8RuZ4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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