SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '050121139cb6c5858fb4f6ee4878fb72fdd349860e8119c1782ad9de4b019069' 
  AND token = '2bwPW0RSUohiqq38Mev4Vn3FP+makq4PKxdd6AbEwzk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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