SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1990763f417e3f24413404e889b971dba63d171d7e091295c0f2f32f6ccacaf' 
  AND token = 'wo5Ez1k8Xvmbo5p3M6eDvD97syHDFUX210WhPuTw74I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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