SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cab879ad246a48a980065a48fb0a02dad049762fc45a8a5f97e4d2f56f7c378d' 
  AND token = '7jAeRH7U0oSf/Do58G9VTluZ/Bxk7GpKqecUHuhZ7MQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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