SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a163e5f26d5c7d570b2a4063f53c9640b3a764cb0f772cbb10d234c5fcba67ab' 
  AND token = 'IN+pEW7QnfVOMZP73ztiPnQwhVUC5NQE3ia2HvAHnGE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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