SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fcb3163316072555ab42df5ce56bf48f120f85f4ed475a827e68568a7d3d02a7' 
  AND token = 'hCo7ZgrozvmEy/bqgF8ZjrlGTem4+G7Be24RtxEjMOM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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