SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '790f331675049f83bce68aa20f3812349c85ca37fea622f89fef97ad4f543c67' 
  AND token = 'pBv6bkKdz0KPDtj05n4yI5I++VAmi9gQqWbYF5JxOnQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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