SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c5ea29969b4cdcb9e4d037f089d1f789d54d0700fa25fc4988e6f5834b7ce26' 
  AND token = 'OpcXIdNnlAbQ6ybJsVv/MZ8zHPe/R05Rvcy3v3jTH1c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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