SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b7cbb8a547403a358923e9843c36a2e1eb4a8a342539e73d5558682c744551b' 
  AND token = 'avag6PHu7Ha8NcPwd+5W7ov54MskNW5LBsIKZkn4ZLk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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