SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e25904cbe417631cbada5d1fed920a7e421740841c8b1fb2404799aab415d0df' 
  AND token = 'mp+FCB3Qht8RQc+NKV+3kQZ6WtfI6NIoT51msx/lyyY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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