SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '127248ad74115ac44eec1b708aff47d52b753e1b9153d1afa5191f351e944045' 
  AND token = 'tmr6imm6+Z6JBYXF5W/wm9+P1HHcWOe/vevrDL2sZvA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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