SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd694af8490ab10ade8754248eee12e9109a1eca412f6d3912a52b88a8c0b15cc' 
  AND token = 'rRPhWpQKvUn3DMtRjA5IwOLowGrsZ/eR9EHj0ChonUg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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