SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '561c1738e97fc79bf3e1259ad0b6f51591ffa8c644daf9f1057f652e3029b145' 
  AND token = 'tpmmdi6jZR5egixFA56RDBd9729u8inE33ghzUoJyNw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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